Keybindings Integration

You can integrate with the Keybindings plugin to either create new bindings or invoke existing ones.

import { keybindings } from "vam-scripter";

// Available as Scripter.MyCommand
keybindings.declareCommand("MyCommand", () => {
    console.log("Hello, world!");
});

// You can also call other commands
keybindings.invokeCommand("Scripter.OpenUI");